package com.qingfeng.qfcms.dao;

import com.qingfeng.qfcms.domin.User;
import com.qingfeng.qfcms.page.Page;
import com.qingfeng.qfcms.utils.PageData;

import java.util.List;

/**
 * Created by User on 2016/7/20.
 */

public interface UserDao extends BaseDao<User> {

    public List<User> checkName(String name);

    public List<User> findPageList(Page page);				//分页查询

    public List<User> findUserRoleOrganizationList(Page page);

    public User findById(String id);

    public int updateIp(User user);
    public List<PageData> findPd(PageData pd);

}
